package org.scs.carleton.ca.pgdt.core.parser.internal.factory;

import org.scs.carleton.ca.pgdt.core.internal.parser.ASTList;
import org.scs.carleton.ca.pgdt.core.internal.parser.ASTTranslationUnit;
import org.scs.carleton.ca.pgdt.core.parser.nodes.IASTNodeTypes;

/**
 * The ListFactory can be used to create prolog lists
 * 
 * @author tessierj
 *
 */
public class ListFactory {
	private ListFactory() {
		
	}
	
	public static ASTList createList(ASTTranslationUnit translationUnit) {
		return new ASTList(translationUnit, IASTNodeTypes.LIST);
	}
}
